Repository navigation
openscad r3:boost 1.92 arg 符号垫片修复 - #98
Merged
Merged
Conversation
底座 devkit 的 boost 升到 1.92 后 program_options::arg 挪进 detail::,x11 这版 openscad 直接跑报 cannot locate symbol _ZN5boost15program_options3argE。 按 libreoffice 的 ICU 79 模式带资产修复: - termux-openscad-compat v1.92.0 资产(build.sh 可从官方 deb 逐字节复现): 官方 libboost_program_options.so 改 SONAME 为 libboost_po_192.so 的副本 + 只定义旧 arg 符号的 24 字节垫片 - scad-export 运行时先探测底座能不能用,不能用才加进 LD_LIBRARY_PATH, 底座恢复旧符号后自动不用垫片 - 真机验证:cube(10) STL 1503 字节 12 面、MCAD 76 面、--version 正常 Co-Authored-By: Claude Code <noreply@anthropic.com>
组件审计报告底座 🔴 openscad 2021.01-r3下载 5.0 MB · 装后 15.1 MB · 365 个文件 · 5 个包 对比已发布 2021.01-r2:装后 14.6 MB → 15.1 MB;新增 openscad-compat-1.92.0-aarch64.tar.xz;升级 boost 1:1.91.0→1:1.92.0, openscad 2021.01-7→2021.01-8
人要看的:
和别的组件共用的包:inkscape:boost, double-conversion, libandroid-wordexp;libreoffice:boost, libandroid-wordexp;melt:double-conversion;musescore:double-conversion;music:boost, libandroid-wordexp 包清单
CI 实跑 selftest(arm64 + termux-docker)
环境同 App 里 Claude 的 Bash 工具(PREFIX / HOME / TMPDIR / termux-exec),没有 GPU、屏幕、Shizuku。通过只说明「装得上、跑得起来」,安卓特有的问题仍要真机。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
底座 devkit 的 boost 升到 1.92 后
program_options::arg挪进detail::,x11 这版 openscad 直接跑报cannot locate symbol _ZN5boost15program_options3argE。修法(照 libreoffice 的 ICU 79 模式)
libboost_po_192.so:官方boost_1:1.92.0_aarch64.deb的libboost_program_options.so,仅 SONAME 改名(patchelf)+ RUNPATH 等长改写libboost_program_options.so:24 字节垫片,只定义旧arg符号,DT_NEEDED 指向改名副本$PREFIX/lib/cccodroid/boost-arg/;scad-export 运行时先探测底座能不能用,不能用才把该目录加进 LD_LIBRARY_PATH;底座恢复旧符号后自动不用垫片真机验证(本机底座已升 1.92,正好复现)
CANNOT LINK EXECUTABLE ... cannot locate symbol _ZN5boost15program_options3argE🤖 Generated with Claude Code